public class first {

    public static void main(String[] args) {
        char word1 = '你';
        char word2 = '好';

        System.out.println("“你”的Unicode码为:"+(int)word1);
        System.out.println("“好”的Unicode码为:"+(int)word2);
    }
}
